/**
* 子模块路由
* ml
*/

var router = function ($urlRouterProvider, $stateProvider) {

	$stateProvider

		
		
		//法律法规管理
		.state('app.lawlist', {
			url: "/peopen/lawlist",
			views: {
				'main@': {
					template: require('./views/lawlist.html'),
					controller: 'lawlist'
				}
			},
			resolve: {

			}
		})

		//保存法律法规
		.state('app.saveLawInfo', {
			url: "/peopen/saveLawInfo",
			views: {
				'main@': {
					template: require('./views/saveLawInfo.html'),
					controller: 'saveLawInfo'
				}
			},
			resolve: {

			}
		})

		//法律法规类型管理
		.state('app.pelawtype', {
			url: "/peopen/pelawtype?type",
			views: {
				'main@': {
					template: require('./views/pelawtype.html'),
					controller: 'pelawtype'
				}
			},
			resolve: {

			}
		})

		//保存法律法规类型
		.state('app.saveTypeInfo', {
			url: "/peopen/saveTypeInfo",
			views: {
				'main@': {
					template: require('./views/saveTypeInfo.html'),
					controller: 'saveTypeInfo'
				}
			},
			resolve: {

			}
		})

		//旅游企业制度管理
		.state('app.rulesList', {
			url: "/peopen/rulesList",
			views: {
				'main@': {
					template: require('./views/rulesList.html'),
					controller: 'rulesList'
				}
			},
			resolve: {

			}
		})

		//保存旅游企业制度信息
		.state('app.saveRulesInfo', {
			url: "/peopen/saveRulesInfo",
			views: {
				'main@': {
					template: require('./views/saveRulesInfo.html'),
					controller: 'saveRulesInfo'
				}
			},
			resolve: {

			}
		})

		//公示曝光模板列表
		.state('app.openTemplan', {
			url: "/peopen/openTemplan",
			views: {
				'main@': {
					template: require('./views/openTemplan.html'),
					controller: 'openTemplan'
				}
			},
			resolve: {

			}
		})


		//保存公示曝光模板
		.state('app.saveTemplan', {
			url: "/peopen/saveTemplan",
			views: {
				'main@': {
					template: require('./views/saveTemplan.html'),
					controller: 'saveTemplan'
				}
			},
			resolve: {

			}
		})

		//公示曝光列表
		.state('app.openList', {
			url: "/peopen/openList",
			views: {
				'main@': {
					template: require('./views/openList.html'),
					controller: 'openList'
				}
			},
			resolve: {

			}
		})


		//保存公示曝光信息
		.state('app.saveOpenInfo', {
			url: "/peopen/saveOpenInfo",
			views: {
				'main@': {
					template: require('./views/saveOpenInfo.html'),
					controller: 'saveOpenInfo'
				}
			},
			resolve: {

			}
		})

		//待审核公示曝光列表
		.state('app.notOpenList', {
			url: "/peopen/notOpenList",
			views: {
				'main@': {
					template: require('./views/notOpenList.html'),
					controller: 'notOpenList'
				}
			},
			resolve: {

			}
		})


		//已审核公示曝光历史列表
		.state('app.hisOpenList', {
			url: "/peopen/hisOpenList",
			views: {
				'main@': {
					template: require('./views/hisOpenList.html'),
					controller: 'hisOpenList'
				}
			},
			resolve: {

			}
		})


		//公示曝光API
		.state('app.openAPI', {
			url: "/peopen/openAPI",
			views: {
				'main@': {
					template: require('./views/openAPI.html'),
					controller: 'openAPI'
				}
			},
			resolve: {

			}
		})


		//我发布的消息列表
		.state('app.informatica', {
			url: "/peopen/informatica",
			views: {
				'main@': {
					template: require('./views/informatica.html'),
					controller: 'informatica'
				}
			},
			resolve: {

			}
		})


		//我接收的消息列表
		.state('app.seeinformatica', {
			url: "/peopen/seeinformatica",
			views: {
				'main@': {
					template: require('./views/seeinformatica.html'),
					controller: 'seeinformatica'
				}
			},
			resolve: {

			}
		})


		//账号分类
		.state('app.informaticaAll', {
			url: "/peopen/informaticaAll",
			views: {
				'main@': {
					template: require('./views/informaticaAll.html'),
					controller: 'informaticaAll'
				}
			},
			resolve: {

			}
		})


		//账号信息
		.state('app.companyinformatica', {
			url: "/peopen/companyinformatica/:Collname",
			views: {
				'main@': {
					template: require('./views/companyinformatica.html'),
					controller: 'companyinformatica'
				}
			},
			resolve: {

			}
		})


     //企业消息
	 .state('app.sysnotice', {
		url: "/peopen/sysnotice",
		views: {
			'main@': {
				template: require('./views/sysnotice.html'),
				controller: 'sysnotice'
			}
		},
		resolve: {

		}
	})
	//保存企业消息
	.state('app.savesysnotice', {
		url: "/peopen/savesysnotice",
		views: {
			'main@': {
				template: require('./views/savesysnotice.html'),
				controller: 'savesysnotice'
			}
		},
		resolve: {

		}
	})
	 //选择机构
	.state('app.choosecompany', {
		url: "/peopen/choosecompany",
		views: {
			'main@': {
				template: require('./views/choosecompany.html'),
				controller: 'choosecompany'
			}
		},
		resolve: {

		}
	})

	



		
};




module.exports = router;